package predatorpreytest.macro.builder;

import util.PredatorPreyScenarioBuilder;
import PredatorPrey.Sheep;
import PredatorPrey.Wolf;

public class WolfDieOutScenarioBuilder extends PredatorPreyScenarioBuilder {

	@SuppressWarnings({ "unchecked" })
	@Override
	protected void createAgents() {
		// create 10 sheep agent..
		for (int i = 1; i <= 10; i++) {
			Sheep sheep = this.getEnvironment().createSheep("sheep" + i);
			// add to the test context...
			getContext().add(sheep);
		}
		// create 100 Wolf agent.
		for (int i = 1; i <= 100; i++) {
			// create Wolf agent
			Wolf wolf = this.getEnvironment().createWolf("wolf" + i);
			// add to the test context...
			getContext().add(wolf);
		}
	}
}
